{% if avatarAlert %}
 <div class="alert alert-warning alert-dismissable">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
    <strong>{{'您还没有头像'|trans}}</strong>。{{'拥有一个独有的头像，老师和同学们能更容易关注到你哦'|trans}}～～ <a href="{{ path('settings_avatar') }}" class="alert-link" target="_blank">{{'点击设置'|trans}}</a>
 </div>
{% endif %}